package edu.xhu.id;

import com.tencent.devops.leaf.plugin.annotation.EnableLeafServer;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableLeafServer //启用美团 Leaf 服务器
@EnableDiscoveryClient //服务注册与发现
@EnableFeignClients(basePackages = "edu.xhu.api")// 启用openfeign
@EnableScheduling  //开启定时调度任务
public class BiliDistributedIdApplication {
    public static void main(String[] args) {
        SpringApplication.run(BiliDistributedIdApplication.class, args);
    }
}
